package com.harmontronics.hanma.paas.paas.service;

import com.harmontronics.hanma.paas.paas.common.PageBase;
import com.harmontronics.hanma.paas.paas.domain.app.entity.HmEntityModel;

import java.util.List;

public interface IHmEntityModelAppService {

    String save(HmEntityModel hmEntityModel);

    String update(HmEntityModel hmEntityModel);

    HmEntityModel findById(Long id);


    List<String> remove(List<Long> ids);

    List<HmEntityModel> getList(Long modelId,String modelKey, Boolean activated);

    PageBase<HmEntityModel> getList(Long modelId, boolean hiddenSystemField,int pageNo, int pageSize);

    void validField(Long id, String field, String value, Long modelId);
}
